package entities;

import java.io.Serializable;
import javax.persistence.*;
import java.util.List;


/**
 * The persistent class for the Propietary database table.
 * 
 */
@Entity
public class Propietary implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String boss;

	private String mail;

	private String name;

	private String pass;

	private String phone;

	private String surname;

	//bi-directional many-to-one association to Propietary_organisateur
	@OneToMany(mappedBy="propietary")
	private List<Propietary_organisateur> propietaryOrganisateurs;

    public Propietary() {
    }

	public String getBoss() {
		return this.boss;
	}

	public void setBoss(String boss) {
		this.boss = boss;
	}

	public String getMail() {
		return this.mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPass() {
		return this.pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getSurname() {
		return this.surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public List<Propietary_organisateur> getPropietaryOrganisateurs() {
		return this.propietaryOrganisateurs;
	}

	public void setPropietaryOrganisateurs(List<Propietary_organisateur> propietaryOrganisateurs) {
		this.propietaryOrganisateurs = propietaryOrganisateurs;
	}
	
}